package com.jhws.sys.user.bo;

import com.jhws.common.base.bo.BaseBo;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name = "tbl_usr_dim")
public class TblUserDimBo extends BaseBo
{
	/**
	 * 序列化
	 */
	private static final long serialVersionUID = 1494424124754762152L;

	public static final String USER_INFO_REFERENCE = "user_info";
	@Id
    @Column(name = "user_code")
	private String userCode;
    @Column(name = "log_name")
	private String logName;
    @Column(name = "log_pwd")
	private String logPwd;
    @Column(name = "user_name")
	private String userName;
    @Column(name = "last_log_time")
	private String lastLogTime;
    @Column(name = "user_state")
	private String userState;
    @Column(name = "role_code")
	private String roleCode;
    @Column(name = "role_name")
	private String roleName;
    @Column(name = "email_address")
	private String emailAddress;
    @Column(name = "tel_num")
	private String telNum;
    @Column(name = "comm_code")
	private String commCode;
    @Column(name = "creater")
	private String creater;
    /* 最大管理小区数量,role_name为secLevel角色时有效 */
    @Column(name = "comm_count",columnDefinition = "INTEGER default 0")
	private Integer commCount;
	
	public String getRoleName() {
		return roleName;
	}
	public void setRoleName(String roleName) {
		this.roleName = roleName;
	}
	public String getCreater() {
		return creater;
	}
	public void setCreater(String creater) {
		this.creater = creater;
	}
	public String getCommCode() {
		return commCode;
	}
	public void setCommCode(String commCode) {
		this.commCode = commCode;
	}
	/**
	 * @return the userCode
	 */
	public String getUserCode() {
		return userCode;
	}
	/**
	 * @param userCode the userCode to set
	 */
	public void setUserCode(String userCode) {
		this.userCode = userCode;
	}
	/**
	 * @return the logName
	 */
	public String getLogName() {
		return logName;
	}
	/**
	 * @param logName the logName to set
	 */
	public void setLogName(String logName) {
		this.logName = logName;
	}
	/**
	 * @return the logPwd
	 */
	public String getLogPwd() {
		return logPwd;
	}
	/**
	 * @param logPwd the logPwd to set
	 */
	public void setLogPwd(String logPwd) {
		this.logPwd = logPwd;
	}
	/**
	 * @return the userName
	 */
	public String getUserName() {
		return userName;
	}
	/**
	 * @param userName the userName to set
	 */
	public void setUserName(String userName) {
		this.userName = userName;
	}
	/**
	 * @return the lastLogtime
	 */
	public String getLastLogTime() {
		return lastLogTime;
	}
	/**
	 * @param lastLogTime the lastLogtime to set
	 */
	public void setLastLogTime(String lastLogTime) {
		this.lastLogTime = lastLogTime;
	}
	/**
	 * @return the userState
	 */
	public String getUserState() {
		return userState;
	}
	/**
	 * @param userState the userState to set
	 */
	public void setUserState(String userState) {
		this.userState = userState;
	}
	/**
	 * @return the roleCode
	 */
	public String getRoleCode() {
		return roleCode;
	}
	/**
	 * @param roleCode the roleCode to set
	 */
	public void setRoleCode(String roleCode) {
		this.roleCode = roleCode;
	}
	/**
	 * @return the emailAddress
	 */
	public String getEmailAddress() {
		return emailAddress;
	}
	/**
	 * @param emailAddress the emailAddress to set
	 */
	public void setEmailAddress(String emailAddress) {
		this.emailAddress = emailAddress;
	}
	/**
	 * @return the telNum
	 */
	public String getTelNum() {
		return telNum;
	}
	/**
	 * @param telNum the telNum to set
	 */
	public void setTelNum(String telNum) {
		this.telNum = telNum;
	}

	public Integer getCommCount() {
		return commCount;
	}

	public void setCommCount(Integer commCount) {
		this.commCount = commCount;
	}
}
